package com.deng.servlet;

import javax.servlet.http.HttpServletRequest;
import org.apache.catalina.websocket.StreamInbound;
import org.apache.catalina.websocket.WebSocketServlet;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;



public class SocketServlet extends WebSocketServlet {

	Log log = LogFactory.getLog(SocketServlet.class);
	
	protected StreamInbound createWebSocketInbound(String subProtocol,
	         HttpServletRequest request) {
		 MyMessageInbound message = new MyMessageInbound();
		 return message;
	}
}
